Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Statistics[Sort] - sort numeric data
Calling Sequence
Sort(X, options)
Parameters
X
-
data sample
options
(optional) equation(s) of the form option=value where option is one of order or unique; specify options for the Sort function
Description
The Sort command sorts the elements of X according to their numeric values.
The first parameter X is the data set (list or Array).
Options
The options argument can contain one or more of the options shown below.
order=ascending or descending -- Indicates whether the elements of X should be sorted in the ascending or descending order. The default value is order=ascending.
unique=truefalse -- If this option is set to true, all multiple occurrences of elements from X will be removed. The default value is unique=false. Note that if this option is set to unique=true then all elements of X must be of type float.
Notes
Although the Sort command accepts non-numeric data, maple must be able to compute floating-point values for all elements in X. If the unique option is set to unique=true all elements in X must be of type numeric.
The Sort command creates a copy of the original data.
Examples
See Also
Statistics, Statistics[Computation], Statistics[OrderByRank], Statistics[Rank]
Download Help Document