Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sortAccountNamesByDeclaration :: Journal -> Bool -> [AccountName] -> [AccountName]hledger-lib Hledger.Data.Account Sort account names by the order in which they were declared in the journal, at each level of the account tree (ie within each group of siblings). Undeclared accounts are sorted last and alphabetically. This is hledger's default sort for reports organised by account. The account list is converted to a tree temporarily, adding any missing parents; these can be kept (suitable for a tree-mode report) or removed (suitable for a flat-mode report).
sortAccountTreeByAmount :: NormalSign -> Account -> Accounthledger-lib Hledger.Data.Account Sort each group of siblings in an account tree by inclusive amount, so that the accounts with largest normal balances are listed first. The provided normal balance sign determines whether normal balances are negative or positive, affecting the sort order. Ie, if balances are normally negative, then the most negative balances sort first, and vice versa.
sortRows :: ReportOpts -> Journal -> [MultiBalanceReportRow] -> [MultiBalanceReportRow]hledger-lib Hledger.Reports.MultiBalanceReport Sort the rows by amount or by account declaration order.
-
hledger-lib Hledger.Reports.MultiBalanceReport A sorting helper: sort a list of things (eg report rows) keyed by account name to match the provided ordering of those same account names.
-
hledger-lib Hledger.Reports.ReportOptions No documentation available.
sort_amount :: HasReportOptsNoUpdate c => Lens' c Boolhledger-lib Hledger.Reports.ReportOptions No documentation available.
sort_amount_ :: ReportOpts -> Boolhledger-lib Hledger.Reports.ReportOptions No documentation available.
sortspec :: HasReportOptsNoUpdate c => Lens' c SortSpechledger-lib Hledger.Reports.ReportOptions No documentation available.
sortspec_ :: ReportOpts -> SortSpechledger-lib Hledger.Reports.ReportOptions No documentation available.
sortByModTime :: [FilePath] -> IO [FilePath]hledger-lib Hledger.Utils.IO Given a list of existing file paths, sort them by modification time, most recent first.