Hello! First of all, sorry if this is the wrong site - I couldn’t find any other answers for my question via multiple Google searches (I don’t even really know what keywords to search). Please do let me know if this is the wrong place to ask this :’)
I am a complete newbie to HTML or any kind of code. I have tried to learn multiple times, and only the most basic of markdown is able to stick in my head - everything else flies right past me. So I’m essentially starting from nothing here, and I’d appreciate as thorough and detailed of a response as is possible to give. Don’t be afraid to list things out step-by-step as if I’m a baby. Trust me, I need it. (And apologies if any of my terminology is off or entirely wrong, again, I’m starting from nothing here.)
My issue is as a user of an app that uses HTML in its text boxes. The app creates separate items, that when clicked open into what act as profiles, with spaces to write a name, pronouns, description, etc. These profiles sort in the main list alphabetically via name.
I was wondering if there was any characters I could put in the beginning of the names of these profiles in such a way that they get sorted differently, but have the characters used for sorting be invisible. I understand various spaces can be used, and the amount changed to alter the position in the list, but all of these either A. leave a gap at the beginning of the name that offsets it from the other profiles, or B. are an absolute pain to work with as they are invisible even while editing and therefore can’t be easily highlighted again to copy/remove. I’m looking for something that can be seen while editing the text box but invisible when it’s deselected, like how markdown appears in editing but activates once sent.
I swear I remember seeing somewhere that there is a specific character or markdown or piece of code or something that can be used to turn the characters before it invisible, for sorting purposes. For example, a few names in which are typed:
1[code]Paul
2[code]Daisy
3[code]Alan
would show up as just:
Paul
Daisy
Alan
outside of editing - and therefore those numbers before the code/specific character/etc. are not shown, so they can be used to sort in a specific order that doesn’t appear alphabetical.
However, I’m not sure if I’m misremembering something (which is entirely possible). If there is such a thing, can someone let me know what it is and how to implement it? And if not, is there any other alternative? Thank you, and apologies again if this is the wrong place to ask.
— Midnight, coding newbie