keep sleep entries sorted