Spreadsheet / Data Analysis / Sorting

Blazor Spreadsheet Example - Sorting

Loading Syncfusion Blazor Server Demos…

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
AA
AB
AC
AD
AE
AF
AG
AH
AI
AJ
AK
AL
AM
AN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Player NamePositionJersey NumberDOBClubAppearancesGoals ScoredAssists ProvidedDribbles(per 90 mins)Interceptions(per 90 mins)Tackles(per 90 mins)
Caram WilliamsMidfielder631993-01-18Chelsea426163.045.847.61
Jones BrownDefender421993-05-17Manchester City17102.558.435.94
Smith JohnsonForward771982-03-16Liverpool23426.590.443.46
Lewis BrownMidfielder261993-10-25Real Madrid4426205.495.577.49
Caram LewisGoalkeeper562002-05-15Arsenal331244.19.616.27
Williams WilliamsDefender511991-07-02Chelsea129115.529.17.51
Anderson MillerMidfielder981988-11-25Liverpool42463.018.76.94
Jones WilliamsDefender961980-02-20Paris Saint-Germain248139.523.675.28
Jones LewisMidfielder421995-02-06Arsenal4818208.18.982.76
Garcia BrownMidfielder631980-10-15Real Madrid242191.458.38.25
Johnson BrownMidfielder271997-02-21Paris Saint-Germain42351.396.098.51
Anderson JohnsonMidfielder242003-07-24Liverpool1922171.667.158.2
Caram WilliamsDefender521981-07-11Paris Saint-Germain45814.890.525.71
Caram SmithForward391987-11-19Barcelona208155.556.14.36
Caram JonesForward651981-04-02Paris Saint-Germain1719123.646.021.86
Garcia MillerMidfielder21992-09-18Liverpool342967.48.732.06
Garcia LewisMidfielder81991-11-14Chelsea1810197.860.943.56
Caram MillerMidfielder231983-02-09Manchester City23428.526.551.66
Caram BrownGoalkeeper201987-08-13Liverpool252258.862.244.31
Nichols DavisForward132000-06-28Barcelona450135.067.612.2
Nichols DavisForward412005-12-17Manchester United516150.468.286.21
Caram AndersonGoalkeeper491992-04-16Manchester United50646.455.633.19
Anderson JohnsonForward741980-11-15Manchester United52559.894.316.4
Smith AndersonDefender381991-08-07Manchester United4523113.821.614.41
Smith WilliamsForward891995-01-08Barcelona1012143.690.918.47
Johnson LewisDefender232003-08-25Arsenal212156.387.322.78
Smith LewisMidfielder422000-04-05Arsenal132918.414.112.54
Caram MillerDefender271983-07-24Manchester United462019.024.049.05
Caram LewisDefender911984-10-07Paris Saint-Germain323127.434.535.5
Lewis AndersonForward332000-07-27Liverpool202196.687.32.07
Smith SmithDefender521987-07-26Juventus711174.125.024.09
Smith WilliamsForward141986-10-17Manchester United152307.445.062.91
Johnson BrownDefender362001-06-12Juventus292455.646.583.26
Nichols SmithDefender291995-04-14Manchester United43573.412.340.9
Caram SmithGoalkeeper552001-08-20Arsenal27360.2128.94
Johnson BrownForward741998-03-17Manchester United434201.678.829.71
Jones SmithGoalkeeper972003-06-21Bayern Munich2907.041.926.13
Williams AndersonDefender752005-08-07Chelsea23068.528.963.7
Johnson SmithMidfielder482005-10-01Manchester City261481.193.687.78
Nichols DavisGoalkeeper82002-02-23Arsenal3918133.954.252.84
Johnson JohnsonMidfielder781995-05-07Juventus1227143.891.058.85
Johnson DavisMidfielder181990-05-25Real Madrid38187.744.169.7
Jones MillerMidfielder411996-09-10Manchester City61205.762.593.46
Anderson SmithMidfielder541994-04-23Manchester United1930194.144.139.63
Garcia AndersonForward281995-07-11Manchester City122835.597.216.3
Nichols JohnsonMidfielder611984-01-06Liverpool21631.064.122.01
Caram WilliamsGoalkeeper321991-09-17Chelsea221802.98.476.88
Nichols LewisGoalkeeper461988-11-10Paris Saint-Germain102128.977.989.41

This sample demonstrates the sorting capabilities of the Spreadsheet using a football player statistics dataset. It highlights how large datasets can be organized by attributes such as player name, club, appearances, or goals to streamline analysis and comparisons.

The Spreadsheet sorting feature enables you to organize data in a specific order. To enable sorting, set the AllowSorting property to true.

Sorting Data:

  • Select a cell or range of cells or column containing data
  • Access sorting options through the Home tab in the ribbon or right-click to open the context menu
  • Choose Sort Ascending to arrange data from lowest to highest (A to Z, 0 to 9)
  • Choose Sort Descending to arrange data from highest to lowest (Z to A, 9 to 0)

In this demo, you can sort the player statistics by selecting any column and applying ascending or descending order to analyze the data based on different attributes like goals scored, appearances, or player names.

For more detailed information about Sorting, refer to the Sorting documentation.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE