Sorting with from/size parameter

I have to use sorting along with from and size parameters in the elastic
search query.

I am querying elastic search with 0 to 100 records and then 101 to 200
records and then 201 to 300 records. I have to sort the entire set with
salary field.

Will it sort the whole set and takes 100 records at a time or will it take
100 records and then apply sorting and then proceed similarly.

Please confirm

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/30c31941-66ac-4183-b04c-61b179ae50ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.