Skip to main content
Filter by
Sorted by
Tagged with
1 vote
3 answers
81 views

I am trying to load images into an html document using the file reader API, and then sorting them alphabetically. The code I have written loads the images into the div just fine, however it doesn't ...
Bobby Jones's user avatar
-1 votes
1 answer
61 views

I am working on a site that displays all possible words from letters entered. There are words in the database up to 15 in length. Approximately 170,000 words. When I enter up to 8 letters, everything ...
Mark Bajanen's user avatar
0 votes
2 answers
54 views

On my dataset in SQLite any query that sorts numbers (i.e. a GROUP BY clause) sorts alphabetically (1, 11, 12, 2) rather than numerically (1, 2, 11, 12). The data is coming back as for example 999,000,...
Vynne Lucas's user avatar
0 votes
1 answer
152 views

1st table: Company Cost A $100 B $200 C $50 D $100 2nd table: Company Cost A $50 D $75 A $90 D $100 B $200 D $100 I want combine the data in a new tab so that all data from company A is combined and ...
Casey D's user avatar
0 votes
1 answer
54 views

How can I sort the characters in a string value in SQLite Database? For example: "macedonia" --sorted--> "aacdeimno"? I know one method: if I use another table: integers(i int)...
Aleko Babev 's user avatar
3 votes
2 answers
525 views

How to sort text in PostgreSQL in Latvian alphabetic order, so any letter without accent always comes before the letter with accent? For example this select * from ( select 'bā' as name union ...
va.'s user avatar
  • 800
2 votes
1 answer
109 views

Suppose I have four strings abc, Abc, Bca, and bca. The requirement is that these would be sorted (when alphabetical) to Abc, abc, Bca, bca. With this code: names.Sort((a, b) => string.Compare(a, b)...
Zeldarulah's user avatar
2 votes
2 answers
575 views

I want to sort the Turkish name of countries in Dart, however I couldn't find a method to customize the alphabetical order during sorting operation like collations in Java. For example when I sort ...
alierdogan7's user avatar
1 vote
1 answer
349 views

I have subscribed to a cloud drive service. All good until I needed to check that all folders in a long list had been actually uploaded. I realized that the name-based sort order in my local system is ...
julio's user avatar
  • 79
0 votes
2 answers
685 views

I have a dataframe and one of the variables is a list. I want each of the vectors in the list to be alphabetically ordered. [1] D,F should become F,D [2] B,D,C should become B,C,D and so on with each ...
AltairB's user avatar
0 votes
1 answer
90 views

**I want to sort .properties file in alphabetical order with comments. Only alphabetical order is working fine but when i am trying to sort with comments it's not showing comments. this is my ....
Muhammad Ateeb's user avatar
1 vote
1 answer
849 views

I'm not literate about programming but I need a script to help me alphabetically sort objects in a layer in Adobe Illustrator. My vector is a map having 1 layer with all the objects I need to sort at ...
dorky's user avatar
  • 13
2 votes
1 answer
138 views

Method input: ["eat","tea","tan","ate","nat","bat"] I have grouped each of the anagrams into their own array within an array through this ...
palacetrading's user avatar
0 votes
1 answer
209 views

I've started tackling coding problems to try and improve my skills. I'm working on the 'Alien Dictionary' coding problem which, when given a sorted list of 'Alien Words' you need to determine the '...
Steven Martin's user avatar
0 votes
4 answers
734 views

I am new to Laravel and I was wondering if I can order the following multidimensional array with countries alphabetically? So I want all the countries inside the continents to be ordered ...
Elisaveta's user avatar
0 votes
1 answer
132 views

Edit Now the new radio button is sorted correctly into the dropdown menu but only the first one. The new button is simply appended to the last node in all other lists. I have a dynamic table that ...
Programming_Squirrel's user avatar
-1 votes
1 answer
334 views

I would like to create an alphabetic sorter on Vb. I want the user to be able to type things into a textbox and then sort them alphabetically in another label. I am not fully sure how to do this.
Anpnymous 101's user avatar
1 vote
2 answers
838 views

I have seen many things on how to sort Strings in an Array alphabetically. I was wondering if it possible to take an individual String (for example just a single word you entered through a TEdit) and ...
Morgan Micheletti's user avatar
0 votes
1 answer
887 views

I need to use a custom QtableView in Python to display and format data. The example app below shows a table with the first column of floats formatted as strings to get the proper number of decimals, ...
Stéphane REY's user avatar
0 votes
1 answer
1k views

Challenge: Take 2 strings s1 and s2 including only letters from a to z. Return a new sorted string, the longest possible, containing distinct letters - each taken only once - coming from s1 or s2. # ...
naked's user avatar
  • 43
-2 votes
1 answer
403 views

I must ask for inputs from the user (there is not any limit for the input word count) and then the program must print the second word that comes in alphabetical order. Instructions Write a program, ...
can's user avatar
  • 7
0 votes
0 answers
57 views

I have a map like this: Map<String,Map<String,String>> And I need to sort the second map, so I try something like this: ArrayList<ArrayList<String>> response = new ArrayList&...
David D's user avatar
  • 23
3 votes
4 answers
636 views

Like in this example, https://www.duden.de/rechtschreibung/Regen_Niederschlag , the words are sorted in the following way: "regelwidrig, Regelwidrigkeit, Regelzeit, regen, Regen, Regenabflussrohr,...
a0poster's user avatar
0 votes
2 answers
2k views

# Ask for inputs fileName = input("Please enter the filename: ") f = open(fileName, 'r') lines = f.read() f.close() #Input the text, find unique words and add to a list words = [] ...
Hannah 1780's user avatar
0 votes
0 answers
300 views

I'm trying to make a shell script that its only function is showing as output the content of a csv file in alphabetical order, the thing is I know I should do it with the sort command and I've tried ...
AnonymousDeveloper's user avatar
1 vote
2 answers
1k views

I have a grid I'd like to keep in alphabetical order without manually intervening. I.e. that I can continue adding to without re-alphabetizing every time. The grid itself is very simple, just 3 ...
Alex's user avatar
  • 13
0 votes
1 answer
1k views

I'm trying to create a line plot with the order that I gave to it in the dataframes I'm using, however I've tried everyting and whener I add something like reorder or stat = "identity" it ...
Majo's user avatar
  • 33
0 votes
1 answer
68 views

I am trying to sort this file that has this information below Easy,Category 3 hurricane,5-Sep,1950 King,Category 4 hurricane,18-Oct,1950 Florence,Category 1 hurricane,26-Sep,1953 Hazel,...
Ivickt's user avatar
  • 29
-4 votes
2 answers
182 views

I want to order nodes' chosen string variables. this is an homework due to tomorrow. public void sortSongName() { DefaultSongs sortedList = new DefaultSongs(); ...
Umay Kaya's user avatar
0 votes
3 answers
1k views

I have to write a program that first reads in the name of an input file and then reads the input file using the file.readlines() method. The input file contains an unsorted list of number of seasons ...
Emerald Bay's user avatar
0 votes
0 answers
23 views

My sheet contains volunteer data imported via query from another worksheet. I'm assigning various roles to each volunteer on this sheet. I'd like to alphabetize by last name to make it easier to ...
Rich Dixon's user avatar
1 vote
2 answers
78 views

I have a list with 4 columns: L = [[0, '0000000', 'Hashfunction.jpg', 258883, '.jpg'], [1, '0000001', 'a_test_grey.jpg', 24186, '.jpg'], [2, '0000002', 'b_test_grey.jpg', 4256, '.jpg'], ...
Perino's user avatar
  • 628
0 votes
0 answers
150 views

When I'm looking at files modified using git diff, I see the following (filenames modified, I use more meaningful names in real life!): /DN/B/F/B.F.S.T/FRT.cs /DN/B/F/B.F/L/OSL.cs However, in Azure ...
Andrew Grimm's user avatar
  • 82.3k
0 votes
1 answer
507 views

Trying to filter table alphabetically, so that a list of letters is displayed above the table, and when user clicks on letter, all the terms starting with that letter are displayed. The script is ...
ladybugg333's user avatar
0 votes
1 answer
67 views

So I've tried this question using union but there is some error that I am unable to figure out. In this code, I'm getting an error which says "Warning] passing argument 1 of 'strcpy' makes ...
Gaurav Shrivastava's user avatar
1 vote
1 answer
53 views

I am working on an assignment where I need to sort a struct alphabetically based upon an employees surname. I have written the program and can run it, but unfortunately it seems to be removing all of ...
sean2020's user avatar
1 vote
1 answer
41 views

I have a data frame called called issuesdata that I created from a larger frame, clean.data issue1 <- as.vector(clean.data$issue1) issue2 <- as.vector(clean.data$issue2) issue3 <- as.vector(...
checkmate363's user avatar
1 vote
1 answer
1k views

The traditional alphabetic sorting algorithms suggested in StackOverflow for PHP serve well to sort in the English alphabetic order, but with other languages, that have a different alphabet order, or ...
algo's user avatar
  • 118
0 votes
0 answers
64 views

I am trying to find out whether the product sorting (A-Z and Z-A) is working fine in my sites. I have done this before and it worked perfectly. But now it is throwing an error saying the sorted result ...
Arjun's user avatar
  • 361
1 vote
1 answer
2k views

I am learning C-programming and working on a school assignment. With limited possibilities to ask teachers or peers (due to the Corona-outbreak and distancing at home) I am reaching out to you. Help ...
swedishstudent's user avatar
-1 votes
1 answer
767 views

A slice of my dataframe, df, is like this, so you can reproduce it. data ={'feature_name': ['nite', 'thank', 'ok', 'havent', 'done', 'beverage', 'yup', 'lei','thanx', 'okie', '146tf150p', 'home', 'too'...
Bluetail's user avatar
  • 1,299
-2 votes
1 answer
2k views

I am new in Angular and sorry if this question is repeated but I can't find the answer I was looking for. I have a file with a next JSON in it: {"name": "John", "size" ...
mhdev's user avatar
  • 35
-1 votes
3 answers
1k views

My task is a create doubly linked list and sort them according to their data, if new written node's data is equal to the one of the nodes' data in my doubly linked list, i should sort them in a ...
Razbolt's user avatar
  • 39
3 votes
1 answer
1k views

I have three files: x10.txt x30.txt x200.txt If I go to my MacOS finder and sort by name I get the following order: x10.txt x30.txt x200.txt I am trying to get them in the same order in Python. I am ...
bones225's user avatar
  • 1,738
3 votes
1 answer
226 views

It's a very easy problem but can't get my way around it. I have an array of hashes. The data structure as follows: my @unsorted = ( { 'key_5' => '14.271 text', # ... }, ...
tt_pre's user avatar
  • 147
2 votes
2 answers
1k views

It's a very easy problem but can't get my way around it. I have an array @arr = qw(txt text anothertext 38.09 100.87 0.876) How can I sort the numbers in the array numerically and the strings ...
tt_pre's user avatar
  • 147
0 votes
1 answer
756 views

I am writing an Google Scripts attached to Google Form and Google Sheet. I have a list of names where some have entered the data with lower case and upper case. I am trying to sort - however, the ...
prem shankar's user avatar
0 votes
6 answers
2k views

I've been trying to sort a list of names alphabetically, let's say: list=['Bob','Alice','Charlie'] print(list.index('Alice')) 1 However I'd also like to keep track of the original indexes, so this ...
Tomas Agustin's user avatar
0 votes
2 answers
69 views

I have a Category class public class Category { public long Id { get; set; } public Translation[] Translations { get; set; } } and a Translation class public class Translation { public ...
Deividas's user avatar
0 votes
1 answer
42 views

I was given a file with several recipes denoted at the beginning by 0. Each recipe is followed by it's ingredients denoted at the beginning by 1 as shown below : char *rawRecipes[]={ "0Broccoli ...
unicorns101's user avatar