Added sorting ability to list bucket call