Rank squat's no hotel (4)
I believe the answer is:
sort
'rank' is the definition.
(thesaurus)
I can't explain the remainder of the clue.
Can you help me to learn more?
(Other definitions for sort that I've seen before include "Kind, type or make" , "Type - arrange in groups" , "Put in order" , "Tidy" , "Arrange systematically" .)