added sort_buckets method to manually sort buckets after loading data