Sort rbest results properly