Let's take some rdbms like Postgresql or Mysql. And create some table with primary key and primary index on it. Primary index is intended to speed up select operations with clause where primary_key_column=..... It relies on sorted order by primary_key_column.
What I want to clarify is, do the rdbms keep the order of entries sorted? If not, how can we perform fast select on unordered data?