Questions tagged [alphabetical]

Use this tag to describe the way of ordering a sequence in the same order as the alphabet

Filter by
Sorted by
Tagged with
-2 votes
2 answers
82 views

How order a string in alphabetical order in a single row

Basically, I have a string with semicolon (;) separated in a Range ("H2"), example (Restrict; No-Resctric; Alpha; Cosmo; n..). This needs to be dynamic, meaning the string may contain more ...
Pepiniano's user avatar
0 votes
0 answers
32 views

Order histogram plotly express legend alphabetically or according to the value presented in the y-axis

I have a question about the legend of a histogram made through plotly express. Is there a way to sort alphabetically or according to the value presented in the y-axis the data that appears in the ...
juanmolera's user avatar
0 votes
2 answers
43 views

How can I exclude sheets for VBA alphabetizing code?

I'm using the code below to alphabetize my worksheets in my workbook for excel. However, I have four sheets that I don't want alphabetized. It is the first two sheets and the last two sheets: "...
cluelesscoder's user avatar
1 vote
3 answers
95 views

Ordering text fields by letters first before numbers for all characters

Ordering text fields by letters first before numbers for all characters I am trying to order the below text fields show they come out in ascending order with letters coming first; B054QL9 B05KY35 ...
E_Kelly1997's user avatar
-2 votes
1 answer
35 views

list of names in a string, how could I sort them alphabetically? JAVASCRIPT

so there is a primitive simple string let friends = 'Moe,Larry,Curly,Jane,Emma,Elizabeth,Elinor,Mary,Darcy,Grey,Lydia,Harriet'; I want that string to be converted in Alphabetical order (a,b,c,d) [ '...
msc1's user avatar
  • 1
-2 votes
2 answers
298 views

function isAlphabet will take letters and return true if the order of the letters matches the order in the alphabet, otherwise false

I need to implement such isAlphabet function that will take letters and return true if the order of the letters matches the order in the alphabet, otherwise false: isAlphabet ('abc') === true ...
Vladyslav Akopov's user avatar
1 vote
3 answers
69 views

Find Longest Alphabetically Ordered Substring - Efficiently

The goal of some a piece of code I wrote is to find the longest alphabetically ordered substring within a string. """ Find longest alphabetically ordered substring in string s. "&...
Ryan Rosenfeld's user avatar
0 votes
1 answer
232 views

ggplot y-axis labels should be in alphabetical order when values are tied

I have a similar question to this post, but I'd like to know if it's possible to both 1. keep my y-axis values in the same order, lowest to highest -> aes(y = reorder(species, -sal, FUN = median), ...
Nate's user avatar
  • 413
1 vote
2 answers
111 views

C program for calculating alphabetical strings

Task: Create a function maxRepeatingLetter that receives a string and as a result returns the letter that is repeated the most times in the given string (if more than one letter meets the given ...
jockowillick's user avatar
1 vote
3 answers
162 views

Alphabetically sort with Python?

I am aware of the sorted() function but I am having a little trouble using it/implementing it in my code. I have a database containing student records such as Name, address, age etc. When the user ...
Jim's user avatar
  • 11
1 vote
1 answer
47 views

How to alphabetize all members in Eclipse Outline view?

In the Eclipse Outline view, there is a button to sort members alphabetically. However, it seems to sort members by category first, and then by alphabet, such that the resulting list is not in fact ...
slerfsterdn's user avatar
2 votes
0 answers
1k views

how to lint or prettier a json file with vscode in alphabetical order

i have translation object and I want prettier to lint my keys in alphabetical order. is there a plugin for that?
Lior's user avatar
  • 287
0 votes
1 answer
34 views

Need to convert a list into set, but It needs to stay in alphabetical order

THis is how my code looks like: site1 = ["breakfast", "view", "beach", "hospitality", "breakfast", "clean", "view"] site2 = ["...
moon knight's user avatar
-1 votes
1 answer
75 views

Replacing Consonants and Vowels in a String - Python/PySimpleGUI

Dears, I want to write a function in Python, given a string, returns a new string in which the vowel will remain as it is and the consonants will be replaced with grec alphabet : α, β, γ, δ, ε, ...., ...
PyiPath2022's user avatar
1 vote
1 answer
319 views

Creating new column by combining two columns, but variables need to be in alphabetical order

I have the following dataset: ID<-c("A","B","C","D","E") Fruits1<-c("orange","apple","pineapple","apple",...
Cam's user avatar
  • 449
0 votes
3 answers
59 views

Find And Replace Character In Python

For the get_letter_from_user function, while using the while loop for validation, it keeps repeating the invalid input; I want to make sure that it is a single letter and lower case, and I want to ...
Fran_CS's user avatar
  • 23
0 votes
0 answers
51 views

Position to excel row with entered value

I have names "ANDREW", "BLACK", "JONES", "JUNIPER", "NEWSHAM" and "SMITH" in the first vertical column of an Excel sheet. I wish to be able ...
Ali Wood's user avatar
0 votes
1 answer
27 views

Alphabetic ascending filling dataframe column until another column is True/changes, then start again

My aim is to fill "Links" column alphabetically ascending until "Node" changes(or "NewNode"=True) Here's what i have tried. import pandas as pd import numpy as np import ...
Umutcan S's user avatar
4 votes
1 answer
2k views

Flutter alphabetical list from a to z on right side

I want to implement an alphabetical list on the right side of the screen, i don't want to use a packages because they reorder my listview which i want to stay at same order, and i want to implement ...
Ali's user avatar
  • 87
0 votes
2 answers
86 views

How to sort arrays numerically and alphabetically at the same time in JavaScript in this code, please [closed]

I'm trying so hard to sort these arrays numerically and alphabetically, except that it only sorts them based on their length only (especially numbers). Please help... Tips: Open in IDE and click on ...
Elias Fitzgerald's user avatar
-2 votes
3 answers
2k views

How do I count the frequency of letters in a string and sort by alphabetical orders?, if their frequency is 1, ignore them

Given string S consisting of only lowercase letters (a-z). Print to the screen all the letters that appear more than once in the string S and their number in lexicographical order. a = input() for i ...
Codeer's user avatar
  • 82
1 vote
0 answers
184 views

Sorting code for categories in Elementor through Wordpress

when I try to add some theme-specific categories grid on Elementor through Wordpress, it adds them randomly in the list, giving it a rather disorganised and difficult-to-understand appearance ...
Oktay Cinpolat's user avatar
2 votes
1 answer
117 views

MySQL bug : sorting by alphabetical order failing

I have a problem with mysql, I need your help please. Version MySQL I am sorting alphabetically on a column ('label_mission') the sorting is wrong. SELECT * FROM `m1_mission` ORDER BY `label_mission` ...
Nemo99's user avatar
  • 21
3 votes
1 answer
437 views

Regular expression for three or more consecutive letters of the alphabet

I want to write a regular expression that will find instances of three or more consecutive letters of the alphabet. I'm planning to use this regex with both JavaScript and grep. This seems like ...
Stephen Ostermiller's user avatar
2 votes
2 answers
494 views

EF Core query - is there a way to find the next and previous item alphabetically?

I have a list of things that I sort alphabetically. I am able to load this list using the following code: model.Posters = this.NoTrackSet<Presentation>() .OrderBy(v => v....
CarComp's user avatar
  • 1,939
-1 votes
1 answer
399 views

How do I check for EACH individual letters in a string to see if they're alphabetical characters and not digits?

I'm working on an assignment (C++) where I have to have the user write out a string of text (Example input: 1hello22). The task is to remove the digits one by one, in order too. So the output would be ...
SpitfirePls's user avatar
1 vote
1 answer
54 views

How to sort a dictionary that is already sorted in descending order, so that the people with similar averages appear in alphabetical order?

Imagine we have a dictionary of peoples' names and averages which are sorted by value (average) in descending order. I want to sort the dictionary in a way that people with similar averages appear in ...
Ayda's user avatar
  • 37
0 votes
1 answer
340 views

How to output a specific Map value's key in alphabetical order in C++?

I'm trying to print out the contents of a specific map value, but in alphabetical letter based on the letters inside of the brackets. Below is the original output which doesn't meet what I'm trying to ...
ATR's user avatar
  • 65
0 votes
0 answers
95 views

code for .xsl bibliography style numeric in square brackets, sorted alphabetically

I want to Create a Custom bibliography style in MSWORD 2016 for Mac, I use either the style IEEE_Reference.XSL or ISO690_numerical.XSL with square brackets (I have already modified this one for square ...
M G's user avatar
  • 1
0 votes
2 answers
47 views

generate set number of names used by shell split naming profile

ok so when you run the split function from terminal it generates the names it names all the parts starting with an x followed by an 2 letter alphabetical incremental pair. aa,ab,ac ect. What I am ...
jessyjack's user avatar
0 votes
3 answers
169 views

How to ignore text case while comparing two strings in C++?

I am a beginner coder. I am trying to create a program which will compare two strings alphabetically. But It will ignore the text case. I am facing problem on it. How can I ignore the text case in C++?...
Jahin Ahnaf's user avatar
3 votes
1 answer
2k views

Alphabetical Scrollbar in jetpack compose

Does anyone know how to create an alphabetical fast scroller, displaying all the letters in Jetpack Compose? Similar to this one: Recyclerview Alphabetical Scrollbar I have made a list which is ...
vigard Anson's user avatar
0 votes
3 answers
1k views

check the alphabetical order

I am a newbie who is trying hard to have a grip on javascript. please help me to consolidate my fundamentals. input will be a string of letters. following are the requirements. function should return ...
Ankit Baage's user avatar
0 votes
2 answers
2k views

Java string comparison, printing two different string inputs into alphabetical order

We are learning compareTo() method and equals() method, but I am unsure how to properly print the words in alphabetical order. I have 2 Strings: String firstString; String secondString; that are ...
Huntad123's user avatar
0 votes
1 answer
146 views

sorting <li> elements alphabetically in cargo collective

i would like to make a list in cargo collective, and make them automatically sort in alphabetical order by the first character. Now i have two versions of JavaScript coding, but they can not include ...
Lihua Yu's user avatar
-2 votes
2 answers
566 views

Mysql: Select all values alphabetically between two strings in a table

Okay let's say I have this in my table: id name 1 tom 2 anna 3 beatrice 4 robert 5 xavier 6 zoe 7 eustace How can I select all ids of the names that are alphabetically sorted? Say, select * ...
Gui13's user avatar
  • 13.1k
1 vote
3 answers
114 views

How could I get this Insertion Sort code in alphabetical order?

I am new to coding and I put my code in order going from least amount of letters to greatest amount. Please help me understand how to put the code into alphabetical order. import java.util.Arrays; ...
Jacob Y's user avatar
  • 13
0 votes
2 answers
3k views

How do I sort html list alphabetically using javascript on page load

I have an unordered list on my page. I will be adding more names to it continuously, so I want the list to be sorted alphabetically on page load. Here is what I have done so far but it is not working. ...
Nelson J's user avatar
1 vote
2 answers
1k views

Sorting keys of dictionary according to more than one criteria - Python 3.0

I'm trying to get a sorted dictionary. The dictionary should be sorted according to the following two criteria: According to the values (integers) If two keys (str) have the same value, sort ...
Fedra Herman's user avatar
-1 votes
1 answer
80 views

convert number to alphabet python? [closed]

Write a program that receives a number and displays the letter equivalent of that number. Write the program so that for Nomadillion (usable. For negative numbers, write the word "negative" ...
amir hossein zadeh's user avatar
1 vote
2 answers
99 views

How to order a list alphabetically in python/mako

so I have this (very stupid for most people I'd assume) question: I'm trying to modify a small template I found online and at one point they give the order to sort the list called movie by rating in ...
samsepioldoloresh4ze's user avatar
0 votes
1 answer
34 views

Create a column with maximum value (A-Z)

I have below dataframe, I want to the create a new column that shows the highest score for the ID. Score is from A-Z. A = low score, Z = high score. ID Score 001 A 001 B 001 C 002 A 002 A A003 ...
Daven1's user avatar
  • 135
0 votes
1 answer
226 views

List sorting, if integers are same that related strings should be in alphabetical order and the interger values should be ascending order

The Dart list should be sorted alphabetical based on the same integer value inside the element object. If the integer has same values those related strings should be in aplhabetical and ascending ...
gopinath's user avatar
0 votes
3 answers
551 views

Find five longest words in a List in Python and order them in alphabetical order

It's the first time I am working with Python for a Uni assignment and I am facing a difficulty regarding a task that says: Extract five longest words in the entire text, create a List with those items ...
Maria Thanou's user avatar
1 vote
2 answers
68 views

Reshaping a dataframe in R by sorting just some fields in a row alphabetically

I have a few large dataframes in RStudio, that have this structure: Original data structure structure(list(CHROM = c("scaffold1000|size223437", "scaffold1000|size223437", "...
Patrick's user avatar
  • 23
0 votes
4 answers
146 views

Alphabetical counter

Hello PHP professionals, With: $count = 0; // start count $count = $count +1; // addition value i can define an automatic counter per text paragraph. At each paragraph the value will be incremented ...
Fontane's user avatar
  • 45
1 vote
2 answers
1k views

Can't compare strings by alphabetical order

My DB stores keys by alphabetical order: -MmNI8oyb2QE_9V0WdaX \\1st (oldest) -MmOAFDL9ZPD1gx4SjEU \\2nd -MmPtIJ1LpFTRbweNWvD \\3rd -MmPtd0IMuNIEYaPYPgZ \\4th (newest) The sorting order on this list ...
SHAI's user avatar
  • 819
1 vote
1 answer
80 views

Jekyll: Sorting pages alphabetically by the title hash, replaced by another hash only if it exists

My YAML always has a title hash for pages. --- title: Why Green and Black Teas Should be Mixed. --- The YAML sometimes has a title-override hash for some pages. --- title: Why Green and Black Teas ...
oatmealNUGGY's user avatar
2 votes
3 answers
600 views

How to order a dataframe by a column, first placing certain value in a column to de beginning and the rest in alphabetical order

I have this dataframe a <- c("a", "f", "n", "c", "d") b <- c("L", "S", "N", "R", "S") df <- ...
JP_SC's user avatar
  • 57
0 votes
1 answer
784 views

Javascript sort array by date and alphabetical order

I want it to be sorted by date and alphabet in one sort how can i do that ? I think alphabetical order works good but date not works properly. Thanks for answers. Data structure : [{ productId: 21,...
Deniz Firat's user avatar

1
2 3 4 5
15