View Single Post
Old 01-20-2022, 03:59 PM   #293
SLaSZT
Junior Member
SLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the endSLaSZT knows the complete value of PI to the end
 
SLaSZT's Avatar
 
Posts: 5
Karma: 31954
Join Date: May 2020
Location: Canada
Device: Kindle PW4 (2018)
Custom sort of a custom column?

Maybe a dumb question, but how can I set up a custom sort of a custom column? I literally just realized today that custom columns are a thing so I don't know if there's simple code that already does this.

I have a custom column called Status that contains the fixed text values of Reading, Priority, Paused, and Read. I'd like them to sort in that order (descending):
  1. Reading
  2. Priority
  3. Paused
  4. Read

Right now, it seems to be sorting alphabetically. I think that I could probably force it to sort the way I want by explicitly numbering them, but I don't want to have that numbering visible in the column.

Thanks in advance.
SLaSZT is offline   Reply With Quote