1. A non-transitory computer readable storage medium, comprising executable instructions to: analyze sort options associated with an input table and a comparison table; determine whether a consistent sort can be performed by a first database associated with the input table and a second database associated with the comparison table; perform a first sort operation on the input table at the first database and a second sort operation on the comparison table at the second database when the consistent sort can be performed; and execute sort operations on the input table and the comparison table at a common sort engine when the consistent sort cannot be performed.